<script>
 
$(".form_validate").validate();

</script>
<?php echo $this->Form->create("ResolutionCorrection", array('enctype' => 'multipart/form-data', 'type' => 'file',"class" => "form_validate", "action" => "add/" . $resolution_id)); ?>
<?php echo $this->Form->input('ResolutionCorrection.numero', array('label' => 'Número', 'class' => 'required')); ?>
<?php echo $this->Form->input('ResolutionCorrection.fecha', array('label' => 'Fecha', 'class' => 'calendario')); ?>
<?php echo $this->Form->input('ResolutionCorrection.observacion', array('label' => 'Observación', 'class' => 'required')); ?>
<?php echo $this->Form->file("ResolutionCorrection.nombre_archivo", array('accept' => 'pdf')); ?>
<?php echo $this->Form->hidden('ResolutionCorrection.resolution_id', array('value' => $resolution_id)); ?>

<?php echo $this->Form->end(array('label'=>'Guardar','class'=>'submit_button')) ?>
